package com.bootdo.appsystem.domain;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author chglee
 * @email 806181255@qq.com
 * @date 2018-06-08 15:43:02
 */
public class OrderincomeDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//收支编号
	private Integer id;
	//订单号
	private String orderCode;
	//商家本金
	private Double sellerCorpus;
	//代理红包
	private Double daili;
	//用户推广奖励
	private Double yonghuTuiguang;
	//股东分红
	private Double gudong;
	//总监分红
	private Double zongjian;
	//商家推广奖励
	private Double shangjiaTuiguang;
	//红包支出
	private Double hongbao;
	//订单本金
	private Double orderprice;
	//订单时间
	private Date ordertime;

	public Date getOrdertime() {
		return ordertime;
	}

	public void setOrdertime(Date ordertime) {
		this.ordertime = ordertime;
	}

	public Double getOrderprice() {
		return orderprice;
	}
	public void setOrderprice(Double orderprice) {
		this.orderprice = orderprice;
	}
	/**
	 * 设置：收支编号
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：收支编号
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：订单号
	 */
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	/**
	 * 获取：订单号
	 */
	public String getOrderCode() {
		return orderCode;
	}
	/**
	 * 设置：商家本金
	 */
	public void setSellerCorpus(Double sellerCorpus) {
		this.sellerCorpus = sellerCorpus;
	}
	/**
	 * 获取：商家本金
	 */
	public Double getSellerCorpus() {
		return sellerCorpus;
	}
	/**
	 * 设置：代理红包
	 */
	public void setDaili(Double daili) {
		this.daili = daili;
	}
	/**
	 * 获取：代理红包
	 */
	public Double getDaili() {
		return daili;
	}
	/**
	 * 设置：用户推广奖励
	 */
	public void setYonghuTuiguang(Double yonghuTuiguang) {
		this.yonghuTuiguang = yonghuTuiguang;
	}
	/**
	 * 获取：用户推广奖励
	 */
	public Double getYonghuTuiguang() {
		return yonghuTuiguang;
	}
	/**
	 * 设置：股东分红
	 */
	public void setGudong(Double gudong) {
		this.gudong = gudong;
	}
	/**
	 * 获取：股东分红
	 */
	public Double getGudong() {
		return gudong;
	}
	/**
	 * 设置：总监分红
	 */
	public void setZongjian(Double zongjian) {
		this.zongjian = zongjian;
	}
	/**
	 * 获取：总监分红
	 */
	public Double getZongjian() {
		return zongjian;
	}
	/**
	 * 设置：商家推广奖励
	 */
	public void setShangjiaTuiguang(Double shangjiaTuiguang) {
		this.shangjiaTuiguang = shangjiaTuiguang;
	}
	/**
	 * 获取：商家推广奖励
	 */
	public Double getShangjiaTuiguang() {
		return shangjiaTuiguang;
	}
	/**
	 * 设置：红包支出
	 */
	public void setHongbao(Double hongbao) {
		this.hongbao = hongbao;
	}
	/**
	 * 获取：红包支出
	 */
	public Double getHongbao() {
		return hongbao;
	}

	public OrderincomeDO creatNewOrdercome(){
        OrderincomeDO orderincomeDO = new OrderincomeDO();
        orderincomeDO.setHongbao(0.0);
        orderincomeDO.setDaili(0.0);
        orderincomeDO.setGudong(0.0);
        orderincomeDO.setOrderprice(0.0);
        orderincomeDO.setSellerCorpus(0.0);
        orderincomeDO.setShangjiaTuiguang(0.0);
        orderincomeDO.setYonghuTuiguang(0.0);
        orderincomeDO.setZongjian(0.0);
       return orderincomeDO;
    }
}
